package net.sivashov.grailssample

/**
 * @author LSivashov
 * @since 2/25/13
 */
class DataSourceDefinition {
    String name
    String datasourceUrl
    String username
    String password

    static constraints = {
        name nullable: false, blank: false, maxSize: 255
        datasourceUrl nullable: false, blank: false, maxSize: 255
        username nullable: false, blank: false, maxSize: 255
        password nullable: false, blank: false, maxSize: 255
    }
}
